package net.haiyue.api.entity;

import java.util.List;

public class Menu {
    private String type;
    private String name;
    private  String icon;
    private List<Menu> children;

    public Menu() {
    }

    public Menu(String type, String name, String icon) {
        this.type = type;
        this.name = name;
        this.icon = icon;
    }

    public Menu(String type, String name, String icon, List<Menu> children) {
        this.type = type;
        this.name = name;
        this.icon = icon;
        this.children = children;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }
}
